package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.management.relation.Role;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private int id;
    private String image; // 头像
    private String username;
    private String password;
    private String phoneNumber;
    private int roleId;
    private Integer isEnabled;
    private List<Permission> permissions;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
